package com.sam.thread.demo1;

/**
 * Hello world!
 */
public class Main {
    public static void main(String[] args) {
        Tickets tickets = new Tickets();

        Thread thread1 = new Thread(tickets);
        Thread thread2 = new Thread(tickets);
        Thread thread3 = new Thread(tickets);

        thread1.run();
        thread2.run();
        thread3.run();
    }
}
